Dim

This command can create temporary local variables for the duration of the current procedure. The local variable names do not need to be defined in the Knowledge Explorer, but they must not use any existing Knowledge Explorer object name.

Syntax: @Dim varName: varType[, varName: varType]

The varType can be either 'S' for a string, 'N' for a number or 'O' for an object (see the section on Accessing COM Objects in Procedures).

Example

@Dim c:N, s:S
@For c = 1 to 10
  @Assign s = 'Hello : ' + c
  @Debug s
@Next